/* Copyright Tvb Network (Pty) Ltd. All rights reserved 2026 */
/* Named instore_prod.css */


._deal_ic{
	width:30px;
	height:30px;
}


.categories-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;           /* smooth iOS scrolling */
  scrollbar-width: none;                        /* hide scrollbar Firefox */
  -ms-overflow-style: none;                     /* hide scrollbar IE/Edge */
  white-space: nowrap;                          /* important for inline layout */
  padding: 0 16px;
      margin-left: -16px;
}

.category-card {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	background: #f8f9fa;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
	text-decoration: none;
	color: white;
	display: inline-block;
	width: 500px;
	margin: 8px
}

.category-card:hover,
.category-card:active {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.65) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 12px;
  text-align: center;
}

.card-overlay h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Size variations */
[data-size="1x1"]   { aspect-ratio: 1 / 1; }
[data-size="1x2"]   { aspect-ratio: 2 / 1;  grid-column: span 2; }
[data-size="1x3"]   { aspect-ratio: 2 / 1;  grid-column: span 2; }
[data-size="2x2"]   { aspect-ratio: 1 / 1;  grid-column: span 2; grid-row: span 2; }
[data-size="2x3"]   { aspect-ratio: 2 / 3;  grid-column: span 2; grid-row: span 3; }
[data-size="2x4"]   { aspect-ratio: 2 / 4;  grid-column: span 2; grid-row: span 4; }

/* Larger screens */
@media (min-width: 640px) {
	.categories-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 16px;
	}
	.card-overlay h3 { font-size: 1.25rem; }
  
	
}




/* Mobile – stack vertically if needed */
@media (max-width: 640px) {
	.category-card{
		width:300px;
	}
	
	
	
}





.brands-section {
  padding: 16px 0 28px;
  background: #ffffff;
}


.brands-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  padding: 0 16px 8px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.brands-scroll::-webkit-scrollbar {
  display: none;
}

.brand-card {
	display: inline-block;
	width: 240px;
	height:250px;  /* narrower for round-photo style */
	margin-right: 20px;
	vertical-align: top;
	text-align: center;
	text-decoration: none;
	color: inherit;
	transition: transform 0.22s ease;
	margin:8px;
}

.brand-image{
	width: 100%;
	height:auto;  /* narrower for round-photo style */
	border-radius:50%;
}

.img_brnv{
	width: 150px;
	height:150px;  /* narrower for round-photo style */
	border-radius:50%;
	object-fit:cover;
}

.brand-card:last-child {
  margin-right: 0;
}

.brand-card:hover,
.brand-card:active {
  transform: scale(1.06);
}

.brand-photo-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e8f5e9;      /* light green border */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background: #f0f7f0;            /* fallback light green */
  position: relative;
}

.brand-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  /* overflow: hidden; */
}

.brand-area {
  font-size: 0.85rem;
  color: #2e7d32;                 /* low green */
  font-weight: 500;
  margin: 0;
}